package physics.collision;

import model.objects.Level;

/**
 * Classes implementing CollisionStrategy must define how a GameObject will
 * react to colliding with another GameObject.
 * 
 * @author geo4
 * 
 */
public interface CollisionStrategy {

    /**
     * Defines how the Collidable object will be behave when it experiences the
     * CollisionEvent specified.
     * @param level TODO
     * @param collisionEvent the collision that the object has just experienced
     */
    void collisionAction (Level level, CollisionEvent collisionEvent);

}
